Method and apparatus for encrypted communications to a secure server

ABSTRACT

An embodiment of the invention includes a secure server. A user at a terminal, communicatively coupled to the secure server by a secure link, can obtain web pages from web sites in a network, in encrypted form, via the secure link. Addresses associated with the web pages are altered to make it appear as if the web pages come from the secure server rather than from the web sites. Spoofing units may be used as alternative access points to the secure server, with the secure server sending the requested web pages directly to the terminal. In general, address rewriting and other manipulation can be performed on the requested web pages, such that the true sources of the web pages are disguised and such that subsequent communications from the terminal are directed to the secure server and/or spoofing unit, rather than to the true source of the web pages. Components of the user&#39;s privacy may be sold, or advertisements may be provided, in exchange for protection of the user&#39;s identity.

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This application is a continuation-in-part of U.S. application Ser. No. 09/580,365, entitled “METHOD AND APPARATUS FOR ENCRYPTED COMMUNICATIONS TO A SECURE SERVER,” filed May 26, 2000, assigned to the same assignee as the present application, and incorporated herein by reference in its entirety.

TECHNICAL FIELD

[0002] This disclosure relates generally to communication with a network, and in particular but not exclusively, relates to encrypted communication with a network via a secure server.

BACKGROUND

[0003] Networks such as the Internet and World Wide Web (web) are extremely popular to users as a source of information and entertainment. The web is used for communication between central sites (e.g., web sites) on the Internet and individual users who wish to communicate with the site. Two programs typically control the communications: a web browser that runs on the user's computer and a web server that runs on the web site's computer.

[0004] To obtain information from a web site, a web browser sends a request to a web server by transmitting a uniform resource locator (URL) address of the web site and by using a communication protocol such as Transmission Control Protocol/Internet Protocol (TCP/IP). In typical situations, such a request to the web server is in the form of a hypertext transfer protocol (HTTP) request that results in a transmission of hypertext markup language (HTML) documents (e.g., web pages) back to the web browser.

[0005] Many employers provide their employees with terminals, such as personal computers (PCs), which the employees can use to access the Internet to send/receive email and to “surf the Net.” According to a common configuration, such PCs are connected together in a company's internal network, such as a local area network (LAN), and then connected via the company's proxy server to Internet servers.

[0006] The proxy server often serves as part of the company's “firewall,” where incoming and outgoing communications can be monitored by the company's information systems. In operation, employees are generally forced to connect to the Internet via this firewall. In other words, all communications (usually in the form of packets) are passed first through the proxy server, and then out to the destination web site. Similarly, content requested from the Internet, such as HTML pages, are first sent to the proxy server, and then forwarded to the employee's terminal for display by a web browser.

[0007] Because of this standard network architecture, individual terminals (e.g., users or employees) are vulnerable to the monitoring of: a) content uploaded by the user to a web site, such as Internet email messages that the user writes and sends; b) content downloaded from a web site, such as HTML pages viewed on the web site or Internet email messages that the user receives and reads; and c) the Internet Protocol (IP) or URL addresses of servers to which the user sends/receives packets.

[0008] There are similar privacy and security issues involved with network architectures other than the corporate network described above. For example, users accessing the Internet from terminals in their homes sometimes have their packets routed through an Internet Service Provider (ISP) and/or along a system having a ring or loop configuration, such as a cable modem system. In such situations, hackers or other parties have the opportunity to monitor individual users' communication at the ISP or at other locations, and thus can obtain information that the users wish to keep confidential, such as URLs of visited web sites, IP addresses of servers used, content (e.g., HTML pages or email) sent/received by the user, etc.

[0009] Additional mechanisms are implemented by Internet-based systems that further jeopardize the freedom of users to communicate privately and securely with the Internet. For instance, companies that control employees' Internet usage sometimes implement firewall blocking or filtering to prevent access to particular web sites. Also, visited web sites often record IP addresses of clients (e.g., users) and collect other data to help identify clients during a profiling process. Further, web servers typically transmit “cookies” for storage in users' terminals. Cookies are electronic files sent by the web server to the web browser to help identify the user and to prepare customized web pages when the user returns to the web site. In typical situations, web pages and histories of URLs accessed (e.g., a web browser history file) are stored at the user's terminals, thereby further compromising the privacy of the user.

[0010] In short, there is a need to improve private and secure communications over networks such as the Internet.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Non-limiting and non-exhaustive embodiments of the present invention will be described in the following figures, wherein like reference numerals refer to like parts throughout the various views unless otherwise specified.

[0012]FIG. 1 shows a system that can implement an embodiment of the invention.

[0013]FIG. 2 is a flowchart showing an embodiment of a method for secure communication that can be implemented by the system of FIG. 1.

[0014]FIG. 3 shows an embodiment of a browser window that can be displayed using the secure communication method of FIG. 2.

[0015]FIG. 4 shows a system that can implement another embodiment of the invention.

[0016]FIG. 5 is a flow chart showing an embodiment of a method for secure communication that can be implemented by the system of FIG. 4.

[0017]FIG. 6 is an embodiment of an algorithm to modify computer code that can be used for the systems of FIGS. 2 and 4.

[0018]FIG. 7 is an embodiment of an algorithm to proxy cookies that can be used for the systems of FIGS. 2 and 4.

DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS

[0019] Embodiments of a method and apparatus for secure communication to a network, such as the Internet, via a secure server are described in detail herein. In the following description, numerous specific details are provided, such as a description of various system components in FIG. 1, to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures or operations are not shown or described in detail to avoid obscuring aspects of various embodiments of the invention.

[0020] Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0021] Referring first to FIG. 1, shown generally at 10 is a system that can implement an embodiment of the invention. The system 10 can include a network 12, such as the Internet, but other types of communication networks may be utilized as well. For example, the network 12 can comprise a local area network (LAN), virtual local area network (VLAN), asynchronous transfer mode (ATM) network, or other network or portion of a network.

[0022] The system 10 includes one or more secure servers 14 communicatively coupled to one or more terminals 16 via one or more secure links 18. The server 14 can be coupled to other servers (not shown) in the network 12 that run web server software. The servers in the network 12 can provide a plurality of web sites 17 and 19 having HTML, extensible markup language (XML), extensible style language (XSL), etc. web pages. Typically, the web sites 17 and 19 (or other components coupled to the network 12) are identifiable by a numeric IP address and/or by a URL address.

[0023] The web pages of the web sites 17 and 19 can be provided to components (e.g., to servers or terminals) communicatively coupled to the network 12 using a protocol such as TCP/IP, HTTP, FTP, or other suitable protocol. In one embodiment, the server 14 can securely provide web pages to the terminal 16, in a manner that will be described in further detail below.

[0024] The server 14 can include one or more processor units 30 to perform the various methods, processes, and algorithms described herein, using a compiler, for example. The processor unit 30 can be communicatively coupled to one or more database units 32, in a manner such that information in the database unit 30 is accessible by the processor unit 30. The server 14 can also include a storage unit 34 to provide the server 14 with additional storage capacity for storing software and other data. The server 14 may further include a communication unit 36 to provide communication hardware, software, protocols, and other features and functions for communication between the server 14 and the terminal 16 (or between the server 14 and other components connected to the network 12).

[0025] The storage unit 34 and database unit 30 can comprise machine-readable media. According to one embodiment, the storage unit 30 can store machine-readable instructions or software to perform the various functions described throughout this detailed description to provide secure communication with the terminal 16. The database unit 30 can store information specific to particular users or terminals 16, electronic files such as cookies, and other such data related to one or more communication sessions between terminals 16 and the secure server 14.

[0026] The terminals 16 can comprise personal computers (PCs) to access the server 14. The terminals 16 each have a display unit 20 that allows users to view information sent to and from the server 14, using a suitable commercially available web browser such as Microsoft's Internet Explorer™ or Netscape's Navigator™. The terminal 16 can include an input/output unit 22, such as a keyboard and mouse. The terminal 16 may also include a processor 24, and a storage unit 26, which can be any type of machine-readable storage medium such as read only memory (ROM), random access memory (RAM), compact disks (CDs), digital versatile disks (DVDs), hard disk, magnetic tape, floppy disks, etc. The storage unit 26 can store the web browser, and can also include caches to store downloaded web pages and other information obtained during the course of communication with the network 12.

[0027] Although the terminal 16 is described herein for illustrative purposes as a PC, it is to be appreciated that other types of terminals may be used. These include laptops, enhanced functionality wireless devices, handheld devices, television sets, workstations (e.g., dumb terminals) connected to a network, and other such devices that can communicate with the network 12. Accordingly, embodiments of the invention are not limited by the specific type of terminal used.

[0028] The terminal 16 can be a stand-alone unit, or it may be connected to other terminals 16 forming part of a corporate LAN, for example. A typical corporate LAN communicates with the network 12 via a proxy server 38, operated by an information systems 40. In many cases, the information systems 40 and/or the proxy server 38 operate a firewall system 42 to control and monitor network traffic sent to and from the network 12.

[0029] According to an embodiment of the invention, communication between the terminal 16 and the network 12 is conducted on the secure link 18 that goes through the proxy server 38 and firewall system 42. In such an embodiment, the communication can pass freely through the proxy server 38 and firewall system in a secure and private manner, as will be described below.

[0030] The secure link 18 can be and ISDN, T1, xDSL, SONET, Ethernet, or other type of high-speed link. The secure link 18 may also be a telephone modem link. Twisted-pair, coaxial cable, fiber optic, or other types of physical links/lines may be used. Wireless links, such as radio frequency, satellite, microwave, optical, etc. may be used as well. Accordingly, embodiments of the invention are not limited by the specific type of link used by the secure link 18.

[0031] Although a LAN-type configuration is shown in the embodiment of FIG. 1, it is understood that other embodiments of the invention may be implemented in other ways. For example, in one embodiment, an ISP may take the place of the proxy server 38, information systems 40, and firewall system 42, where the terminal 16 is an individual unit located in the user's home. Other configurations, such as loop configurations, are possible for implementing embodiments of the invention, so long as the secure link 18 can be provided between the terminal 16 and the secure server 14.

[0032] Shown next in FIG. 2 is a flowchart 46 depicting a method for secure communication that can be implemented by the system 10 of FIG. 1. A communication typically begins at a block 48, when the user launches a web browser in the terminal 16. Once the web browser is launched, the user may connect to the secure server 14 by entering a URL address of the secure server 14.

[0033] The address entered by the user may include the conventional http:// prefix, followed by the URL address (e.g., domain name) of the secure server 14 (which may include the conventional “www” designation). In one embodiment, the user may enter the prefix https://, followed by the URL address of the secure server 14, where https:// indicates a “hypertext transfer protocol secure” mode supported by software of the secure server 14.

[0034] Once the user has entered the URL address of the secure server 14, the web browser initiates a communication with the secure server 14 (e.g., sends a request) at the block 50. It is noted that such a communication is typically transmitted through the firewall system 42 and proxy server 38. In response to the web browser request, the secure server 14 establishes the secure link 18 to the terminal 16.

[0035] According to an embodiment of the invention, the secure link 18 may be established by the secure server 14 using secure server sockets layer (SSL) protocols and procedures, in a manner known in the art. Once the secure link 18 is established, data may be exchanged between the secure server 14 and the terminal 16 in an encrypted manner using RSA (with public and private keys) or other suitable encryption algorithms.

[0036] The user may establish the secure link 18 with the secure server 14 simply by entering https:// in one embodiment. In another embodiment, where the user enters http:// plus the URL address of the secure server 14, the secure link 18 may be established, for example, by subsequently clicking an “Enter Secure Mode” button on a web page provided by the secure server 14 in response to the initial web browser request/communication.

[0037] Upon establishment of the secure link 18, a secure browser window may be displayed (at a block 52) on the display unit 20 of the terminal 16. An example of such a secure browser window is shown at 66 in FIG. 3. The secure browser window 66, in one embodiment, may be a new browser window launched on the terminal 16 by the secure server 14. In another embodiment, the secure browser window 66 may be a modified and secure version of the browser window which was previously launched at the block 48, and which is subsequently modified/secured by the secure server 14.

[0038] The secure browser window 66 can include a conventional menu/tool bar 68, an address field 70 to enter URL addresses of destination web sites, and scrolling controls 72 and 74. Additionally, the secure browser window 66 may include an icon 76 to assist the user in visually recognizing that the secure link 18 with the secure server 14 is active.

[0039] A display region of the secure browser window 66 can display a plurality of banner advertisements 78, 80, and 82, each provided with hypertext link(s). In some instances, one or more of the banner advertisements 78, 80, or 82 can be located in other regions of the secure browser window 66, such as next to the address field 70, and not just in the display region (sometimes referred to as a “chrome”). Specific tailoring (e.g., profiling) of these banner advertisements 78-82 with respect to the user is described later below. The display region can also display content 84 from web pages of web sites 17 and 19 subsequently requested by the user. The displayed content of 84 can include one or more hypertext links 86-88.

[0040] It is noted at this point that because the secure link 18 is active, the proxy server 38 and/or information systems 40 cannot determine the content displayed by the secure browser window 66. While the proxy server 38 and/or information systems 40 may be able to detect that a communication is ongoing with the secure server 14 (e.g., by detecting the URL address of the secure server 14 that generated the secure browser window 66), all other content exchanged between the terminal 16 and secure server 14 is unintelligible data. That is, because the data is encrypted and because the proxy server 38 and/or information systems 40 do not have decryption algorithm (e.g., the private key), data sent to and from the secure browser window 66 is an incoherent data stream to them.

[0041] As an example at a block 54 in the flowchart 46 of FIG. 2, the user may subsequently enter a URL address of a destination web site in the address field 70. To send the URL address of the web site to the secure server 14 according to one embodiment, the web browser can first concatenate the URL address of the destination web site to the currently active URL address of the secure server 14 (by separating them with a forward slash “/”), encrypting the portion of the concatenated URL address that has the URL address of the destination web site, and then transmitting this data/request to the secure server 14. The information detected by the proxy server 38 and/or information systems 40, if any, may thus be just the URL address of the secure server 14, followed by unintelligible encrypted data. In this manner, it appears to the proxy server 38 and/or information systems 40 that all communication from the terminal 16 is directed to the secure server 14 and not to other URL or IP addresses. The proxy server 38 and/or information systems 40 cannot determine the activity at the secure server 14 directed towards transactions with the destination web site.

[0042] Upon receipt of the request from the user's web browser, the software in the secure server 14 decrypts the request to obtain the URL address of the destination web site. The secure server 14 then connects to the destination web site to obtain the appropriate web page, while performing additional encryption or URL rewriting to hide or delete the IP address of the terminal 16 that originated the request. As such, according to one embodiment, the destination web site cannot determine the IP address of the terminal 16 that originally requested the web page, due to the fact that the IP address of the secure server 14 appears as the source address to the web site. Therefore, IP addresses of users and their identity are kept protected from visited web sites.

[0043] When the requested web page is received from the destination web site by the secure server 14, software in the secure server 14 performs various manipulative processes on the web page at a block 56. For example, software of the server 14 can perform URL rewriting of hypertext links in the web page, such that URL addresses of these hypertext links are concatenated with the URL address of the secure server 14, separated by a forward slash “/”. These modifications prevent any further contact between the terminal 16 and web sites corresponding to the hypertext links, except via the secure server 14, if these hypertext links are subsequently clicked by the user, as described later with respect to a block 60 in the flowchart 56.

[0044] The software of the secure server 14 may also make modifications to the script and/or code of the web page, such as modifications to the HTML, JavaScript™ and Java™ code. This ensures that the user's web browser never receives an instruction to contact a web site or server other than the secure server 14. For example, with prior art methods, the user's web browser may receive a command to contact various other servers or web sites (e.g., third-party ad servers or web sites linked to the displayed web page via hypertext links), which results in the transmission of the IP address of the terminal 16 to these other servers or web sites. An embodiment of the invention rewrites such commands so that the user's web browser instead contacts the secure server 14, and asks it to retrieve the appropriate web page, file, etc., thereby protecting the IP address of the terminal 16 from the other servers or web sites. Other illustrative examples of computer code that can be re-written or modified by an embodiment of the invention to accomplish this include, but are not limited to, CGI scripts, ActiveX, cookies, Server-Side Includes (SSI), Visual Basic script, or other dynamic HTML (DHTML) code or Turing Complete language.

[0045] An example of an algorithm that can be used to rewrite computer code associated with the retrieved web page, in order to prevent the user's web browser from receiving an instruction to contact a web site or server other than the secure server 14, is shown generally at 118 in FIG. 6. For the sake of illustration, the embodiment of the algorithm 118 is described in the context of modifying DHTML code, such as JavaScript™, and it is to be appreciated that other types of code may be rewritten by other embodiments of the invention or by variations of the algorithm 118. The algorithm 118 may be embodied in whole or in part by machine-readable instructions (such as code, software, and like) stored on a machine-readable storage medium (such as the storage unit 34) that is accessible to the secure server 14.

[0046] According to an embodiment of the invention, the algorithm 118 identifies “dangerous” functions in the DHTML code that can result in access to an external resource (e.g., a resource on a remote web server other than the secure server 14, such as URLs, web pages, image files, GIF files, audio files, streaming video files, and the like). These dangerous functions can include function calls, conditional statements, loops, or other types of computer code. For example, in JavaScript™, the function “getImage” fetches an image at a remote URL address. An embodiment of the invention replaces such dangerous functions with new functions, which are referred to herein as “wrapper functions.”

[0047] Beginning at a block 120 in FIG. 6, the algorithm 118 obtains the code, such as DHTML code, to be modified or “sanitized”. This code may be obtained from a web server, the web sites 17 or 19, or other location that provided the requested web page to the secure server 14. Next at a block 122, the algorithm 118 identifies the dangerous functions in the DHTML code that can potentially result in access to, or other communication with, external resources. At a block 124, the algorithm 118 replaces the dangerous functions in the code with new wrapper functions.

[0048] Two embodiments of techniques are described next to define wrapper functions and to apply such wrapper functions to a dangerous function at the block 124. For the sake of illustration, these techniques are described herein in the context of being applied to the command document.href=“http://anywebsite.com” in JavaScript™. This command is a dangerous function because it instructs the user's web browser to load the contents of http://anywebsite.com onto the browser page, and so such a function should be modified or “wrapped” appropriately.

[0049] An embodiment of a first technique defines an entirely new wrapper function (e.g., “safewebgetImage” from “getImage”). These new wrapper functions append a prefix (e.g., http://www.safeweb.com/, or other address information associated with the secure server 14, plus possibly other information) to the original address specified in the function, and then calls the original function. Thus, the JavaScript™ command identified above may be rewritten as document.href=addPrefix(“http://anywebsite.com”), where the prefix might be www.safeweb.com or other address of the secure server 14. In the DHTML code, the original dangerous functions are swapped with these new wrapper functions.

[0050] An embodiment of a second technique alters the original function from, for instance, “getImage(x)” to “getImage(prefix+x)”, where the prefix might be www.safeweb.com or other address associated with the secure server 14. Thus, the JavaScript™ command identified above may be rewritten as document.href=prefix+“http://anywebsite.com”.

[0051] Returning now to the block 56 of FIG. 2, the software of the secure server 14 may also perform cookie control and management operations. For example, if users have specified that they do not wish to receive cookies or other such electronic files, then the secure server 14 can block or filter cookies transmitted from the web site along with the web page. Furthermore, if the user has agreed to some or no limitation on cookie exchange, then the secure server 14 may control the type and quantity of cookies that are eventually passed to the terminal 16. Additional details of how the user can control cookies are described later below.

[0052] After receiving the web page and performing the activities described above, the secure server 14 encrypts the web page and sends it to the web browser of the terminal 16, via the secure link 18, for display on the secure browser window 66. According to one embodiment, all of the content of the page may be encrypted, such that the proxy server 38 and/or information systems 40 only detects an unintelligible data stream. As mentioned previously, the URL address and other identifying information of the web page, including it's hypertext links, are concatenated with the URL address of the secure server 14 and then encrypted, such that it appears that the data is originating from the secure server 14.

[0053] The encrypted information passes through the proxy server 38 and firewall system 42, and is received by the terminal 16. The information is decrypted and displayed on the secure browser window 66 at a block 58. Once displayed, the user can view the web page and continue surfing, and in effect, the user occupies a “private Internet.”

[0054] If the user clicks on a hypertext link on the displayed web page at the block 60, then the web browser is instructed to directly contact the secure server 14 for the web page, since the URL address associated with the hypertext link was rewritten at the block 56. The URL address of the clicked hypertext link, which is generally already concatenated with the URL address of the secure server 14 at this point, is encrypted and sent to the secure server 14 at the block 54. It is noted that if the URL address of the hypertext link is not concatenated already, if the user entered a new URL address in the address field 70, or if the user selected a URL address from a “Favorites” menu, such URL addresses are concatenated with the URL address of the secure server 14, encrypted, and then the entire concatenated address is transmitted to the secure server 14 via the secure link 18.

[0055] If the user does not click a hypertext link at the block 60, then a determination is made at a block 62 whether the user is finished surfing/browsing. If the user is not finished, then the user may continue surfing at the block 58, and the process repeats as described above.

[0056] If the user is finished surfing at the block 62, then cookies, browsing file histories, cached web pages, and other such information are deleted from the storage unit 26 of the terminal 16. The deletion at the block 64 may be accomplished any number of ways. For instance, upon notification of the end of transmission (e.g., at sign-off or log-out), the secure server 14 can transmit instructions to the terminal 16 that triggers software stored in the terminal 16 to delete the cookies, file history, etc. In one embodiment, the user can download cookie deletion software from the secure server 14, and use the software to delete cookies at the end of a session.

[0057] Deletion of cookies or cookie control can be accomplished in several ways. In one embodiment, the user may set preferences and transmit the preferences to the secure server 14. The preferences can specify what cookies can be allowed to be passed on to the terminal 16 by the secure server 14, while undesirable cookies are not passed on by the secure server 14.

[0058] In another embodiment, a digital identity or pseudonym can be established for the user and maintained at the secure server 14. Cookies for that user may then be stored in the database unit 32 under the digital identity, and cookies are never actually transferred to the terminal 16.

[0059] An embodiment of the invention provides cookies through a “proxy” or “proxies” cookies such that an original address or source of the cookies can be hidden, while still allowing the cookies to perform their intended function. Such a proxying service can be provided via the secure server 14 or through some other privacy service. A cookie is typically a small electronic file that is exchanged between the remote servers and user's browsers. On a web browser a cookie is typically indexed by the web server it came from, a path name (indicating a file location on the web server), and a variable name. For example, a cookie from the NY Times might carry the web server address or domain name “nytimes.com”, the pathname “/jan14/sports/”, and the variable name “username”. The last is usually assigned a value, such as “username=Dennis”.

[0060] In an embodiment of the invention, when the secure server 14 proxies cookies through to the terminal 16, the web browser at the terminal 16 automatically indexes these cookies with the address of the secure server 14, since the web browser received the cookies directly from the secure server 14 (e.g., not from the nytimes.com server). An embodiment of the invention allows these cookies to be subsequently requested by the remote web site (e.g., the nytimes.com web site, or other web sites 17 and 19 that originally transmitted the cookies) from the terminal 16, without breaking the cookie's usual functionality. That is, a user at the terminal 16 can connect to the remote web site (via the secure server 14) with the use of the stored cookies to assist in the connection.

[0061] An example of an algorithm that can be used to proxy cookies is shown generally at 126 in FIG. 7. The algorithm 126 may be embodied in whole or in part by machine-readable instructions (such as code, software, and like) stored on a machine-readable storage medium (such as the storage unit 34) that is accessible to the secure server 14. Beginning at a block 128 for a cookie that is being sent from the remote web site 17 or 19 for storage at the terminal 16, the algorithm 126 replaces the original domain name (e.g., “nytimes.com”) of the remote web site 17 or 19 with a domain name of the secure server 14. Making this replacement allows the cookie to appear as if it originated from the secure server 14 rather than from the remote web site 17 or 19.

[0062] The algorithm 126 also replaces the original path name (e.g., “/jan14/sports/”) with a new pathname. In one embodiment, the new pathname is set to be a simple forward slash “/” so that whenever a cookie is subsequently requested from the terminal 16 by any remote web site, all of the stored cookies are retrieved and sent to the secure server 14. The secure server 14, once it receives the cookies from the terminal 16, determines which cookie(s) is appropriate to forward to the web site that made the request.

[0063] In an embodiment, the algorithm 126 at the block 128 can also add other identification (ID) information to the cookie, such as an anonymous ID number that correlates to each specific remote web site 17 or 19. The web browser at the terminal 16, in turn, can index the cookie under the secure server 14 and under the ID numbers. Whenever the remote web site 17 or 19 subsequently requests the cookie, the secure server 14 can do a database lookup, for example, to locate the ID number of that remote web site, and then request the cookie indexed under that ID number from the terminal 16.

[0064] Next at a block 130, the algorithm 126 appends the original domain name of the web site (e.g., “nytimes.com”) to the original pathname (e.g., “/jan14/sports/”), and then appends both to the original variable name, so that a new variable name is obtained (e.g., “/nytimes.com/jan14/sports/username”). At a block 132, the new variable name is encrypted to “hide” the original domain name and pathname, and the cookie is subsequently forwarded to the terminal 16 for storage.

[0065] If the cookie is subsequently requested by the remote web site at a block 134, the cookie is located from the list of indexed cookies at the terminal 16 and is passed back through the secure server 14 on the way to the remote web site (e.g., the nytimes.com server). At the secure server 14, the algorithm 126 extracts the original domain name and pathname off of the variable name, and determines whether the cookie should be sent on to the remote web site. In the embodiment where the forward slash “/” is indicated as the return pathname, the secure server 14 may receive several cookies (e.g., all or at least multiple stored cookies) from the terminal 16, and thus looks at the variable name in each of these cookies to determine which of the cookies is the specific one being requested by the remote web site. Additionally, if the web browser at the terminal 16 has added information to the cookie that identifies the terminal 15 as the source of the cookie (e.g., has “stamped the cookie”), the algorithm 126 can replace or modify such information so that the secure server 14 appears as the source of the cookie to the remote web site that requested the cookie.

[0066] It is noted that, in an embodiment, all of the information in a usual cookie is stored in the new variable name and can be recovered by the secure server 14. In some instances, JavaScript or other computer code has to access or set cookies. A set of wrapper functions analogous to those used in DHTML rewriting described above with reference to FIG. 6, can be defined that can process the modified cookies, including modifications to indicate that the secure server 14 (rather than the remote web site or the terminal 16) is the source of the cookies.

[0067] It is noted that in the system 10 shown in FIG. 1 and in other configurations, the proxy server 38 and/or information systems 40 may be able to detect the number and length of communications from the terminal 16 to the secure server 14, albeit not the content of such communications. As a result, the proxy server 38 and/or information systems 40 may be eventually programmed to “block” communication to and from the URL/IP address of the secure server 14. In other settings, it may be possible for organizations, ISPs, government bodies, etc. to restrict access to the secure server 14 by blocking packets having source/destination addresses identifiable to the secure server 14. Accordingly, an embodiment of a system 90 is shown in FIG. 4 that provides the terminal 16 with multiple access points to the secure server 14, thereby bypassing blocking mechanisms.

[0068] The system 90 includes one or more spoofing units 92 (e.g., intermediate units) communicatively coupleable to the terminal 16. The spoofing unit 92 can comprise a server, a web site, a web page, or any other network component that has a static IP or URL address. The spoofing unit 92 can include/operate software to establish a secure connection 94 with the terminal 16 and a connection 96 (which can be secure) with the secure server 14, and can include software to pass browser requests from the terminal 16 to the secure server 14 via the connections 94-96.

[0069] Such software may be distributed to operators of the spoofing unit 92 by owners of the secure server 14 free of charge (e.g., for example, if the operator of the spoofing unit is an advocate of “privacy” or “free speech”) or based on various business incentives (e.g., installation of the software in exchange for banner advertisement space on the secure browser window 66).

[0070]FIG. 5 shows a flowchart 98 depicting an embodiment of a method for secure communication that can be implemented by the system 90. In operation, the terminal 16 may indirectly access the secure server 14 when the user launches a web browser at a block 100 and enters https:// followed by the domain name (or URL) address of the spoofing unit 92. This results in a secure connection to the spoofing unit 92, at a block 102, using a suitable protocol, such as TCP/IP. The TCP/IP protocol can include “handshaking” processes where SYN and ACK information is exchanged between the terminal 16 and the spoofing unit 92. Entering the https:// prefix allows the user to enter into a secure mode by establishing the secure connection 94, thereby allowing the user to subsequently enter and transmit to the spoofing unit 92, a URL address of a destination web site at a block 104.

[0071] In one embodiment, the user may enter the URL address of the destination web site after a string comprising the https:// prefix and URL address of the spoofing unit 92. The URL address of the destination web site is subsequently concatenated with the previously entered (or automatically entered) string, and the portion of the resulting concatenated URL address having the URL address of destination web site is encrypted, in a manner similar to that described above with respect to FIGS. 1-2. This way, the proxy server 38 and/or information systems 40 detects only the URL or IP address of the spoofing unit 92, if anything, and not the address of the destination web site or of the secure server 14.

[0072] Upon receipt of the web browser request, software in the spoofing unit 92 recognizes the request was intended for the secure server 14. This may be done by decrypting the encrypted addresses and then reading the URL address of the secure server 14, or by other methods to detect that the request has to be forwarded to the secure server 14. For example, in one embodiment, the spoofing unit 92 need not decrypt the encrypted addresses to obtain the address of the secure server 14, if the spoofing unit 92 already has the address of the secure server 14. For instance, the address of the secure server 14 can be “hard-coded” into the software of the spoofing unit 92 and so does not need to be specified by the user of the terminal 16. The spoofing unit 92 forwards the request to the secure server 14 via the connection 96 at a block 106. It is noted that the spoofing unit 92 can also forward the SYN/ACK information or other data to assist the secure server 14 in maintaining and synchronizing subsequent communication with the terminal 16. At a block 108, the secure server 14 receives the request from the spoofing unit 92 and processes the SYN/ACK (and other) information to keep track of and synchronize the order of packets. A person skilled in the art will know how to implement the TCP/IP protocol, or other suitable protocol , based on the description provided herein.

[0073] After the secure server 14 receives the request and relevant protocol information (for example, SYN/ACK numbers) from the spoofing unit 92, it decrypts the data to obtain the URL address of the destination web site and obtains the requested web page therefrom at a block 110. Similar to the block 56 in the flowchart 46 of FIG. 2, the secure server 14 at the block 110 can perform URL rewriting. This may include rewriting the URL address of the requested web page (e.g., “spoofing” its URL address) and its hypertext links to indicate the spoofing unit 92 as the source. Modification of script and code (e.g. Java™ and JavaScript™) of the web page, may also be performed to ensure that all subsequent requests by the web browser at the terminal 16 are sent to the spoofing unit 92 (and from there, subsequently sent to the secure server 14), such as described above with reference to FIG. 6.

[0074] As with the block 56 of FIG. 2, the secure server 14 may perform cookie control and other electronic file management at the block 110. After the processes described above are performed on the web page, the web page is encrypted and directly sent for display to the terminal 16, via the secure link 18, at a block 112.

[0075] Since the return IP or URL address of all packets sent from the secure server 14 to the terminal 16 are “spoofed” so that they appear to come from the spoofing unit 92, it is virtually impossible for the proxy server 38 and/or information systems 40 to determine that the packets came from the secure server 14 (and from addresses other then the address of the spoofing unit 92). This can prove particularly useful if the user is viewing web pages of a controversial or controlled nature. The configuration of the system 90 of FIG. 4 makes it appear to the proxy server 38 and/or information system 40 that the encrypted content viewed by the user, whatever it may be, is originating from an innocuous web site at the spoofing unit 92.

[0076] At a block 114 in FIG. 5, the user may click on a hypertext link on the displayed web page or enter a URL address of another web site (e.g., continue to “surf”), thereby resulting in transmission of encrypted web browser requests to the spoofing unit 92, in a manner described above with respect to blocks 104-112. As before, web browser requests are sent to the spoofing unit 92 via the secure connection 94 (and forwarded to the secure server 14 via the connection 96), while retrieved web pages are sent directly to the terminal 16 from the secure server 14, without having to go through the spoofing unit 92. This is particularly advantageous because the bandwidth capacity of the spoofing unit 92 is not overwhelmed. That is, web browser requests take up significantly less bandwidth than web page content produced in response to such request. Hence, the spoofing unit 92 can easily accommodate multiple web browser requests, while the secure server 14 has the larger bandwidth to handle the content, via the secure link 18.

[0077] If the user stops surfing at the block 114, then at log-out, cookies, file histories, cached web pages, etc. are deleted at a block 116. This may be done in a manner similar to the block 64 of FIG. 2.

[0078] As mentioned, there may be more than one spoofing unit 92. Hence, if access to any one of the spoofing units 92 is blocked, access to the secure server 14 may be obtained from other spoofing units. According to one embodiment, users may be provided with hardcopy or online URL directories of spoofing units, such that they can identify and connect to any of these participating units. In another embodiment, the secure server 14 can perform hand-off and redirection of the user's web browser to different spoofing units, such that the user's web browser can “dynamically” connect or reconnect to different spoofing units, as directed by the secure server 14. The secure server 14 may also automatically and dynamically provide the user's web browser with URL addresses of spoofing units (e.g., during a transmission of an encrypted web page), such that the user's web browser can automatically connect to such URL addresses for the next transaction(s).

[0079] As mentioned, an embodiment of the spoofing unit 92, the terminal 16, or the secure server 14 can communicate with each other using TCP/IP techniques. With TCP/IP, a “connection” between units can be said to be “stateful.” That is, there is typically a well-defined handshake that happens between the two units involved, after which they both agree that a connection has been established. With a “non-stateful” connection, in comparison, one unit just sends a packet to the other unit with no acknowledgement or guarantee that the second unit has received the packet.

[0080] According to one embodiment of the invention, the spoofing unit 92 forwards TCP/IP packets it receives from the terminal 16 to the secure server 14. The packets can be “wrapped with,” or otherwise include, additional information (e.g., a version number and the like). One embodiment can forward user datagram protocol (UDP) packets from the terminal 16 to the spoofing unit 16, and it is to be appreciated that other types of packets can also be sent with another embodiment. In this embodiment, such as with UDP packets, no stateful connection is made between the terminal 16 and the spoofing unit 92. There is, however, a stateful connection between the secure server 14 and the terminal 16 when packets are sent from the secure server 14 to the terminal 16 via the secure link 18. Thus, the spoofing unit 92 can be somewhat analogous to an Internet packet router, which simply forwards packets on to their destination. The connection between the spoofing unit 92 and the secure server 14 may or may not be stateful according to various embodiments.

[0081] It is noted that in one embodiment, the “packet forwarding” from the spoofing unit 92 to the secure server 14 need not include the entire TCP/IP packet. Software in the spoofing unit 92 (or in another location) can strip out certain information such as SYN/ACK numbers, the data in the message, and the like, and then send this information on to the secure server 14 using some other protocol.

[0082] Another embodiment provides a stateful connection between the terminal 16 and the spoofing unit 92. In this embodiment, the stateful connection between the terminal 16 and the spoofing unit 92 can be a TCP/IP connection, or an SSL connection. If it is an SSL connection, a key exchange can first occur between the terminal 16 and the spoofing unit 92. The connection between the spoofing unit 92 and the secure server 14 in this embodiment may or may not be stateful.

[0083] When a stateful connection (such as a TCP/IP connection) is established between the spoofing unit 92 and the terminal 16, the spoofing unit 92 passes request(s) on to the secure server 14 only when such request(s) are made by the terminal 16. The response by the secure server 14 to the requests is still made to look like the response came from the spoofing unit 92, but there is no stateful connection between the secure server 14 and the terminal 16. It is noted that, with the exception of the embodiment where a full SSL connection is made between the spoofing unit 92 and the terminal 16, the data (e.g., a request) is not decrypted by spoofing unit 92 in an embodiment. Rather, the spoofing unit 92 simply sends the request on to the secure server 14, which does the decrypting. Subsequently, the secure server 14 sends the requested web pages (encrypted) to the terminal 16 via the secure link 18, with the terminal 16 having the private key to decrypt the web pages once they are received from the secure server 14.

[0084] Various features and business models may be implemented by the embodiments described above and shown in the figures, to manage and customize a user's privacy. According to one embodiment, a user's privacy can be provided by the secure server 14 in exchange for placement of user-specific or general banner advertisements 78-82 on the secure server window 66 of FIG. 3. In such a case, user identity, user IP addresses, and user IP addresses, and user content (e.g., content delivered or accessed) may be kept private in exchange for placement of banner advertisements.

[0085] In another embodiment, components that are less important to users and most important to advertisers, web sites, or employers can be sold by the organization operating the secure server 14, with the user's permission. These components include:

[0086] time spent online, bandwidth used (e.g., provided to employers);

[0087] web surfing patterns of the user and correlations (e.g., provided to advertisers, web sites, and vendors); or

[0088] personal preferences and interest of the user (e.g., provided to advertisers, web sites, and vendors).

[0089] An example includes cookie control. Based on the preferences and instructions of the user, the user may control the type and quantity of cookies delivered to or filtered from the user's web browser by the secure server 14. In one embodiment, the user may be able to designate cookies for storage under a pseudonym, directly on the secure server 14, thereby adding another layer of privacy. Because cookies are often used to build profiles of the user (by web sites or advertisers), controlling cookie exchange with destination web sites allows the user to manage the amount of privacy provided by the secure server 14.

[0090] According to one embodiment, a user may allow operators of the secure server 14 to collect specified data related to the web browsing habits of the user, and then sell such information to advertisers, in exchange for protecting the user's privacy at all times. In this embodiment, such information may be sold to the advertisers with the permission of the user, and includes information that the user is generally not sensitive about.

[0091] In conclusion then, embodiments of the invention provide a secure server 14. Users at terminals 16 can obtain information from web sites in the network 12 through the secure link 18, in encrypted form, thereby protecting their privacy and security. Such information appears as if it comes from the secure server 14 rather than specific web sites. Spoofing units 92 may be used as alternative access points to the secure server 14, with the secure server 14 sending requested information directly to the terminal 16. In general, URL rewriting and other manipulation can be performed such that the true source of the information is disguised and such that subsequent communication from the terminal 16 is directed to the secure server 14 and/or spoofing unit 92, rather than to the true source of the information (e.g., the web site). Components of the user's privacy may be sold as specified by the user, and advertisements may be displayed in exchange for protection of the user's identity.

[0092] The above description of illustrated embodiments of the invention is not intended to be exhaustive or to limit the invention to the precise forms disclosed. While specific embodiments of, and examples for, the invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize.

[0093] These modifications can be made to the invention in light of the above detailed description. The terms used in the following claims should not be construed to limit the invention to the specific embodiments disclosed in the specification and the claims. Rather, the scope of the invention is to be determined entirely by the following claims, which are to be construed in accordance with established doctrines of claim interpretation. 

What is claimed is:
 1. A method, comprising: responsive to a request, retrieving a web page designated in the request; modifying an address associated with the retrieved web page to indicate an address associated with a secure server that retrieved the web page; and encrypting data associated with the retrieved web page and sending, via a secure link, the encrypted data to a terminal that sent the request.
 2. The method of claim 1, further comprising modifying computer code associated with the retrieved web page to cause subsequent requests related to the retrieved web page to be sent to the secure server instead of to a source web site that originated the web page.
 3. The method of claim 2 wherein the computer code is associated with a Turing complete language.
 4. The method of claim 2 wherein the computer code comprises a dynamic hypertext markup language (DHTML) code.
 5. The method of claim 2 wherein modifying computer code associated with the retrieved web page includes: obtaining the code to be modified; identifying an original function in the code to access a resource address different from an address associated with the secure server; and replacing the original function in the code with a new function to access the address associated with the secure server.
 6. The method of claim 5 wherein replacing the original function in the code with the new function includes: defining the new function by appending a prefix, having the address associated with the secure server, to the resource address; and calling the original function.
 7. The method of claim 5 wherein replacing the original function in the code with the new function comprises altering the original function to include the address associated with the secure server in addition to the resource address.
 8. The method of claim 1, further comprising using a proxy technique to indicate the address associated with the secure server as a source of an electronic file that is sent from a web site to the terminal for storage.
 9. The method of claim 8 wherein the proxy technique includes: replacing an original address associated with the web site that is present in the electronic file with the address associated with the secure server; appending the address associated with the web site to an original pathname; obtaining a new variable name by appending the appended address and original pathname to an original variable name; forwarding the electronic file having the new variable name from the secure server to the terminal; and if the stored electronic file is subsequently requested by the web site, retrieving the stored electronic file from the terminal via the secure server and extracting the address associated with the web site and the original path name from the new variable name in the retrieved electronic file.
 10. The method of claim 9, further comprising replacing the original pathname with a new pathname.
 11. The method of claim 9, further comprising encrypting at least the new variable name in the electronic file.
 12. The method of claim 9, further comprising rewriting computer code to process the electronic files having the new variable names.
 13. The method of claim 1, further comprising: providing an intermediate unit to receive the request from the terminal; at the secure server, receiving the request, forwarded from the intermediate unit; retrieving the web page designated in the request from a source; modifying address information in the retrieved web page to indicate a source address corresponding to an address of the intermediate unit rather than to an address of the source that provided the web page; and directly sending an encrypted version of the retrieved web page from the secure sever to the terminal, via the secure link.
 14. The method of claim 13 wherein a connection between the secure server and the terminal via the secure link comprises a stateful connection, and wherein a connection between the terminal and the intermediate unit comprises a non-stateful connection.
 15. The method of claim 13 wherein a connection between the secure server and the terminal via the secure link comprises a non-stateful connection, and wherein a connection between the terminal and the intermediate unit comprises a stateful connection.
 16. The method of claim 14 wherein the stateful connection comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) connection.
 17. The method of claim 14, further comprising stripping at least some data from the request prior to forwarding the request to the secure server from the intermediate unit via the stateful connection.
 18. A method, comprising: providing an intermediate unit to receive a request for a web page from a terminal; at a secure server, receiving the request, forwarded from the intermediate unit; retrieving the web page designated in the request from a source; modifying address information in the retrieved web page to indicate a source address corresponding to an address associated with the intermediate unit rather than to an address associated with a source that provided the web page; and directly sending an encrypted version of the retrieved web page from the secure server to the terminal, via a secure link.
 19. The method of claim 18 wherein a connection between the secure server and the terminal via the secure link comprises a stateful connection.
 20. The method of claim 19 wherein the stateful connection comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) connection.
 21. The method of claim 19 wherein a connection between the terminal and the intermediate unit comprises a non-stateful connection.
 22. The method of claim 21 further comprising stripping at least some data from the request prior to forwarding the request to the secure server from the intermediate unit via the stateful connection.
 23. The method of claim 19 wherein a connection between the terminal and the intermediate unit comprises a stateful connection.
 24. The method of claim 23 wherein a connection between the terminal and the secure server comprises a non-stateful connection.
 25. The method of claim 23 wherein the stateful connection between the terminal and the intermediate unit comprises a secure connection.
 26. The method of claim 23 wherein the intermediate unit decrypts at least a portion of the request that is received from the terminal via the secure connection and that is to be forwarded to the secure server.
 27. An article of manufacture, comprising a machine-readable medium having stored thereon instructions to: receive a request for a web page from a terminal; and forward the request from the terminal to a secure server to allow the secure server to retrieve the web page designated in the request from a source and to allow the secure server to directly send an encrypted version of the retrieved web page from the secure server to the terminal, via a secure link.
 28. The article of manufacture of claim 27 wherein the machine-readable medium further includes instructions stored thereon to establish a stateful connection with the terminal.
 29. The article of manufacture of claim 27 wherein the machine-readable medium further includes instructions stored thereon to strip at least some of the information in the request that is received from the terminal and that is to be forwarded to the secure server.
 30. The article of manufacture of claim 27 wherein a connection between the secure server and the terminal comprises a stateful connection.
 31. An apparatus, comprising: a server communicatively coupleable to a network and to a terminal, the server being capable of sending data from the network to the terminal in an encrypted form via a secure link, in response to a request received from the terminal, wherein the data sent to the terminal indicates the server as a source of the data.
 32. The apparatus of claim 31 wherein the server is capable to use a cookie proxy technique to indicate the address associated with the server as a source of a cookie that is sent from the network to the terminal for storage.
 33. A system, comprising: a server communicatively coupleable to a network and to a terminal, the server being capable of sending data from the network to the terminal in an encrypted form via a secure link, in response to a request received from the s terminal, wherein the data sent to the terminal indicates the server as a source of the data; and an intermediate unit communicatively coupleable to the server, the server being capable of receiving the request from the terminal via the intermediate unit and sending the data responsive to the request directly to the terminal via the secure link.
 34. The system of claim 33 wherein the intermediate unit is capable of receiving subsequent requests from the terminal and sending the request to the server, the server being capable of receiving the requests from the intermediate unit and sending data responsive to the request directly to the terminal, the data sent to the terminal indicating a source address corresponding to the intermediate unit rather than an address corresponding to the server.
 35. The system of claim 34 wherein a connection between the terminal and the intermediate unit comprises a non-stateful connection, and wherein a connection between the terminal and the secure server comprises a stateful connection.
 36. The system of claim 34 wherein a connection between the terminal and the intermediate unit comprises a stateful connection, and wherein a connection between the terminal and the secure server comprises a non-stateful connection.
 37. The system of claim 35 wherein the stateful connection between the terminal and the secure server comprises a Transmission Control Protocol/Internet Protocol (TCP/IP) connection. 